import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';

//pnpm install multer
//pnpm install -D @types/multer

async function bootstrap() {
  const app = await NestFactory.create(AppModule,{
    //让nest服务支持跨域
    cors:true
  });
  await app.listen(3000);
}
bootstrap();
